package ${projectDomain}.pojo.mo.system.api.interfaces;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.unswift.annotation.api.ApiEntity;
import com.unswift.annotation.api.ApiField;
import ${projectDomain}.annotation.excel.Excel;
import ${projectDomain}.annotation.excel.ExcelColumn;
import ${projectDomain}.pojo.mo.BaseMo;

import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = false)
@SuppressWarnings("serial")
@JsonInclude(Include.NON_NULL)
@Excel("接口api")
@ApiEntity(value="接口api导出模板实体", author="unswift", date="2023-09-05", version="1.0.0")
public class SystemApiInterfacesExportMo extends BaseMo{
	
	@ApiField("所属微服务")
	@ExcelColumn("所属微服务")
	private String server;
	
	@ApiField("类型{catalog：目录，interface：接口}")
	@ExcelColumn("类型{catalog：目录，interface：接口}")
	private String type;
	
	@ApiField("接口名称")
	@ExcelColumn("接口名称")
	private String name;
	
	@ApiField("接口路径")
	@ExcelColumn("接口路径")
	private String path;
	
	@ApiField("请求方式{GET、POST、PUT、DELETE}")
	@ExcelColumn("请求方式{GET、POST、PUT、DELETE}")
	private String method;
	
	@ApiField("公开等级{0-9，0表示完全公开，9表示完全不公开}")
	@ExcelColumn("公开等级{0-9，0表示完全公开，9表示完全不公开}")
	private Integer openLevel;
	
	@ApiField("已过期{0：未过期，1：已过期}")
	@ExcelColumn("已过期{0：未过期，1：已过期}")
	private Boolean deprecated;
	
}
